package com.woniu.money.bean;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * <p>
 * 
 * </p>
 *
 * @author yellowDocter
 * @since 2022-08-11
 */
@TableName("t_price")
@ApiModel(value = "TPrice对象", description = "")
public class TPrice implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("主键")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty("货物类型：0-大，1-中，2-小")
    private Integer goosdType;

    @ApiModelProperty("单价")
    private Integer price;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }
    public Integer getGoosdType() {
        return goosdType;
    }

    public void setGoosdType(Integer goosdType) {
        this.goosdType = goosdType;
    }
    public Integer getPrice() {
        return price;
    }

    public void setPrice(Integer price) {
        this.price = price;
    }

    @Override
    public String toString() {
        return "TPrice{" +
            "id=" + id +
            ", goosdType=" + goosdType +
            ", price=" + price +
        "}";
    }
}
